package link.anyauto.srv.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import android.support.annotation.Nullable;
import android.util.Log;

/**
 * Created by voyo on 2016/5/5.
 */
public class SsoAuthService extends Service {
    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return binder;
    }

    SsoAuthImpl binder = new SsoAuthImpl();

    class SsoAuthImpl extends SsoAuth.Stub {
        @Override
        public void ssoAuth(String name, String pwd) throws RemoteException {
            Log.e("SsoAuthImpl", "正在执行单点登录。");
        }

        @Override
        public void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat, double aDouble, String aString) throws RemoteException {

        }
    }
}
